package com.ebelter.myehc.models.managers;

import android.bluetooth.BluetoothDevice;

import com.ebelter.btcomlib.models.bluetooth.bean.ProductStyle;
import com.ebelter.btcomlib.models.bluetooth.products.bloodoxgen.bean.BOMesureResultBean;
import com.ebelter.btcomlib.models.bluetooth.products.bpm.bean.BpmMesureResult;
import com.ebelter.btcomlib.models.bluetooth.products.bracelet.bean.RateBean;
import com.ebelter.btcomlib.models.bluetooth.products.bracelet.bean.SleepInfo;
import com.ebelter.btcomlib.models.bluetooth.products.bracelet.bean.WalkBean;
import com.ebelter.btcomlib.models.bluetooth.products.ear_temperature.bean.EarTemMesureResult;
import com.ebelter.btcomlib.models.bluetooth.products.scale.bean.ScaleMeasureResult;
import com.ebelter.btcomlib.models.bluetooth.products.three2one.bean.ThreeOneMesureResultBean;
import com.ebelter.myehc.beans.BraTodayData;


/**
 * 所有的回调接口
 */

public interface MesuresCalBack {


    /**连接成功*/
    void onConnected(ProductStyle productStyle, BluetoothDevice device);

    void onConnecting(ProductStyle productStyle, BluetoothDevice device);

    void onDisConnected(ProductStyle productStyle);

    void BPM_dynamicSystolicPressure(int value);

    void BPM_measureError(String connectName,int errorType);

    void BPM_measureResult(BpmMesureResult mesureResult);


    void BO_mesureing(int value);

    void BO_mesureResult(BOMesureResultBean resultBean);


    void ET_mesureResult(EarTemMesureResult result);

    void ET_error(int errorCode);

    void ET_onDevicePoweroff();


    void SCALE_onReceiveMeasureResult(ScaleMeasureResult result);

    void SCALE_onWeightOverLoad();

    void SCALE_onReceiveHistoryRecord(ScaleMeasureResult result);

    void SCALE_onFatMeasureError(int type);

    void SCALE_onHistoryDownloadDone();

    void SCALE_unitChange(String unit);

    void SCALE_onLowPower();

    void SCALE_setUserInfoSuccess();

    void SCALE_receiveTime(long time);

    void SCALE_onScaleWake();

    void SCALE_onScaleSleep();


    void ThreeOne_error(int errorCode);

    void ThreeOne_mesureResult(ThreeOneMesureResultBean mesureResult);






    void sleepInfo(SleepInfo sleepInfo);



    void Bra_setUserSuccess();
    void Bra_setXlCycSuccess();

    void getRealTimeData(WalkBean obj);

    void getRealTimeXlData(RateBean obj);

    void SetBraTodayData(BraTodayData braTodayData);

    void sysHistoryDataFinish();

    void SHH_open_ota_success();
    void SHH_lowpower();
}